package com.aat.dxfy.htmlunit;

import java.io.BufferedReader;
import java.io.FileReader;

public class HtmlReplaceTest {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new FileReader("/Users/dxy/Desktop/提升自己"));
		String html = null;
		while ((html = br.readLine()) != null) {
			html = html.replaceAll("\\&[a-zA-Z]{0,9};", "").replaceAll("<[^>]*>", "\n\t");
			System.out.println(html);
		}
		br.close();
	}

}
